import http from "../api/axiosFun.js"

function login(data)
{
	let url = '/cms_login'
	return http.post(url,data).then(res=>{
		return res
	})
	
}

function check_token()
{
	let url = '/check_token'
	return http.get(url).then(res=>{
		return res
	})
}

export default{
	login,
	check_token
}